import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseEntity } from "./base.entity";

@Entity({ name: 'Avatar' })
export default class AvatarEntity extends BaseEntity {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'bigint'})
  UserSysID: number;

  @Column({ type: 'varchar', length: 255 })
  AvatarUrl: string;

  @Column({ type: 'text' })
  AvatarBase: string;
}